import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {PortalsRoutingModule} from './portals-routing.module';
import {PortalDvComponent} from './datav/portal-dv.component';
import {PortalsService} from './portals.service';
import {AdminComponent} from './admin/admin.component';
import {AdminFooterComponent} from './admin/admin-footer/admin-footer.component';
import {AdminHeaderComponent} from './admin/admin-header/admin-header.component';
import {AdminSidebarComponent} from './admin/admin-sidebar/admin-sidebar.component';
import {AdminSettingComponent} from './admin/admin-setting/admin-setting.component';
import {AdminDashboardComponent} from './admin/admin-dashboard/admin-dashboard.component';
import {AdminMenuDirective} from './admin/admin-menu.directive';
import {AdminMenuComponent} from './admin/admin-menu/admin-menu.component';
import {PortalUtilService} from './portal-util.service';
import {AdminUtilService} from './admin/admin-util.service';
import {AdminBreadcrumbComponent} from './admin/admin-breadcrumb/admin-breadcrumb.component';
import {OneDialogModule} from '../widgets/one-dialog/one-dialog.module';
import {ThemesService} from '../admin/permission/themes/themes.service';
import {AccountsService} from '../admin/permission/accounts/accounts.service';
import { DatavHeaderComponent } from './datav/datav-header/datav-header.component';
import { DatavFooterComponent } from './datav/datav-footer/datav-footer.component';
import { DatavDashboardComponent } from './datav/datav-dashboard/datav-dashboard.component';
import { DatavMenuComponent } from './datav/datav-menu/datav-menu.component';
import { DatavSettingComponent } from './datav/datav-setting/datav-setting.component';
import { DatavMenuDirective } from './datav/datav-menu.directive';
import { DatavBreadcrumbComponent } from './datav/datav-breadcrumb/datav-breadcrumb.component';
import {DatavUtilService} from './datav/datav-util.service';
import { BigScreenComponent } from './big-screen/big-screen.component';
import { BigScreenMenuDirective } from './big-screen/big-screen-menu.directive';
import {BigScreenUtilService} from './big-screen/big-screen-util.service';
import {BigScreenHeaderComponent} from './big-screen/big-screen-header/big-screen-header.component';
import {BigScreenFooterComponent} from './big-screen/big-screen-footer/big-screen-footer.component';
import {BigScreenDashboardComponent} from './big-screen/big-screen-dashboard/big-screen-dashboard.component';
import {BigScreenMenuComponent} from './big-screen/big-screen-menu/big-screen-menu.component';
import {BigScreenSettingComponent} from './big-screen/big-screen-setting/big-screen-setting.component';
import {BigScreenAirqualityComponent} from './big-screen/big-screen-airquality/big-screen-airquality.component';
import {BigScreenBreadcrumbComponent} from './big-screen/big-screen-breadcrumb/big-screen-breadcrumb.component';
import { DatavSidebarComponent } from './datav/datav-sidebar/datav-sidebar.component';
import { EmbeddedComponent } from './embedded/embedded.component';
import { EmbeddedDashboardComponent } from './embedded/embedded-dashboard/embedded-dashboard.component';
import {MsgSubscribeService} from '../tools/msgSubscribe/msg-subscribe.service';

@NgModule({
  imports: [
    CommonModule,
    PortalsRoutingModule,
    OneDialogModule
  ],
  declarations: [
    PortalDvComponent,
    AdminComponent,
    AdminFooterComponent,
    AdminHeaderComponent,
    AdminSidebarComponent,
    AdminSettingComponent,
    AdminDashboardComponent,
    AdminMenuDirective,
    DatavMenuDirective,
    AdminMenuComponent,
    AdminBreadcrumbComponent,
    DatavHeaderComponent,
    DatavFooterComponent,
    DatavDashboardComponent,
    DatavMenuComponent,
    DatavSettingComponent,
    DatavBreadcrumbComponent,
    BigScreenComponent,
    BigScreenMenuDirective,
    BigScreenHeaderComponent,
    BigScreenFooterComponent,
    BigScreenDashboardComponent,
    BigScreenMenuComponent,
    BigScreenSettingComponent,
    BigScreenAirqualityComponent,
    BigScreenBreadcrumbComponent,
    DatavSidebarComponent,
    EmbeddedComponent,
    EmbeddedDashboardComponent
  ],
  providers: [
    PortalsService,
    PortalUtilService,
    AdminUtilService,
    ThemesService,
    AccountsService,
    DatavUtilService,
    BigScreenUtilService,
    MsgSubscribeService
  ]
})
export class PortalsModule { }
